package org.fly.service;

import org.fly.bean.Supplier;
import org.fly.bean.query.SupplierQuery;
import org.fly.bean.common.BusinessException;
import java.util.List;

/**
* Created by autoCode on 2018-01-31 17:19:50.
*/
public interface SupplierService {



    List<Supplier> list(SupplierQuery query);

    long count(SupplierQuery query);

   Supplier findById(String id);

    void save(Supplier bean)  throws BusinessException;

    void delete(String id);

    Supplier login(String telephone,String password) throws BusinessException;

    void register(Supplier data,String verifyCode) throws BusinessException;

}
